package org.jeecg.modules.user.notice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

@TableName("bike_announcement_send")
@Data
public class NoticeSendRes {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    /**
     * 通告ID
     */
    @Excel(name = "通告ID", width = 15)
    private String anntId;
    /**
     * 内容
     */
    @Excel(name = "用户id", width = 30)
    private String userId;

    /**
     * 内容
     */
    @Excel(name = "阅读状态（0未读，1已读）", width = 30)
    private String readFlag;

    @Excel(name = "阅读时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String read_time;

}
